var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
    name: String,
    password: String,
    age: Number,
    sex: Boolean,
    telephone: Number,
    email: String,
    jurisdiction: String,
    vip: String,
    shopaddress: String,
    date: Date
});
schema.plugin(mongoosePaginate);

module.exports = mongoose.model('User', schema);